package com.jianfeiliao.portfolio.panel.splash;

import com.jianfeiliao.portfolio.ContentManager;
import com.jianfeiliao.portfolio.page.BasePage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;

public class SplashPanel extends Panel {

    private static final long serialVersionUID = 1L;
    
    public SplashPanel(String id, BasePage page) {
        super(id);

        add(new Label("splashQuestion", ContentManager.getSplashQuestion(page)));
        add(new Label("splashAnswer", ContentManager.getSplashAnswer(page)));
    }
}
